package com.itheima.d2_homework.timu6;

public class Test {
    public static void main(String[] args) {
        ZhaZhiJi zhaZhiJi = new ZhaZhiJi();

        Apple apple = new Apple();
        Banana banana = new Banana();
        Mango mango = new Mango();
        Orange orange = new Orange();

        zhaZhiJi.zhaZhi(apple);
        zhaZhiJi.zhaZhi(banana);
        zhaZhiJi.zhaZhi(mango);
        zhaZhiJi.zhaZhi(orange);


    }
}
